package com.hoshiicloud.user.service.platform;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.user.entity.platform.PlatformDepartments;

/**
 * <p>
 * 部门 服务类
 * </p>
 *
 * @author yl
 * @since 2019-04-22
 */
public interface PlatformDepartmentsService extends IService<PlatformDepartments> {
    IPage getPage(IPage page, QueryWrapper queryWrapper, String key);

    PlatformDepartments getById(Long id);

    boolean save(PlatformDepartments entity);

    boolean updateById(PlatformDepartments entity);


    PlatformDepartments queryPlatformDepartmentsByName(String name);
}
